LGF_IsParityEven (FC / V3.0.1)
Author: Siemens SIMATIC Systems Support
Short description
The function checks whether the parity of the input variable of type DWord is even. If the number of bits that are assigned TRUE
in the sequence is even, the return value is set to TRUE
.
Block Interface
| LGF_IsParityEven (FC) | |
DWord | | | doubleWord | | Ret_Val | | | Bool |
| | | |
| | |
Input parameter
Identifier | Data type | Description |
doubleWord | DWord | Variable for which the parity is to be determined. |
Output parameter
Identifier | Data type | Description |
Ret_Val | Bool | TRUE: When the number of bits that are assigned `TRUE` is even |
Change log
Version & Date | Change description |
| 01.00.00 | Simatic Systems Support |
| 2019.11.28 | First released version |
| 03.00.00 | Simatic Systems Support |
| 23.04.2020 | Set version to V3.0.0 harmonize the version of the whole library |
| 03.00.01 | Simatic Systems Support |
| 12.11.2020 | Insert documentation |